Skip to main content

lockMenus

Type

property

Summary

Specifies whether the menu bar is updated when the buttons used for the menu bar are changed.

Syntax

set the lockMenus to {true | false}

Description

Use the lockMenus property to hide temporary menu bar changes from the user, or to "hold" changes until you've finished all of them and are ready to display the new menu bar.

If the lockMenus is set to true, changes in the menubar group do not appear in the menu bar itself. To make these changes appear on screen, the lockMenus must be set to false momentarily.

The setting of this property has no effect on Unix and Windows systems.

Examples

set the lockMenus to false

glossary: property, handler, menu bar, execute

object: button

property: menubar

command: lock menus, reset, group

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?